import * as types from '../types'

const state = {
  id: ''
}

const mutations = {
  [types.USER_ADDRESS] (state, data) {
    if (undefined !== data.id) {
      state.id = data.id
    }
  }
}

export default {
  state,
  mutations
}
